![]() |
PATH![]() |
![]() ![]() |
Changes the maximum setting of a control and, if appropriate, redraws it accordingly.
pascal void SetControl32BitMaximum (
ControlHandle theControl,
SInt32 newMaximum);
Your application may use the SetControl32BitMaximum function to set a 32-bit value as the maximum setting for a control.
If your application uses a 32-bit control maximum value, it should not attempt to obtain this value by calling the pre-Mac OS 8.5 function
GetControlMaximum
or by accessing the
contrlMax
field of the
ControlRecord
structure, because the stored 16-bit value will not accurately reflect the current 32-bit control value. Instead, use the function
GetControl32BitMaximum
.